package com.dmgis.qxfw.dataservice.businessservice.qxinfo.service;


import com.dmgis.qxfw.dataservice.businessservice.api.entity.yj.potential_points;
import com.dmgis.qxfw.dataservice.businessservice.common.domain.ActualElemQuery;
import com.dmgis.qxfw.dataservice.businessservice.common.domain.SmallScaleSearch;
import com.dmgis.qxfw.dataservice.businessservice.common.entity.*;

import javax.servlet.http.HttpServletRequest;
import java.util.Date;
import java.util.List;

public interface IQxSmallScaleService {

	/**  
	 * 获取最新实况数据
	 */   
	Date getScaleNewDate();
	
	/**
	 * 气象要素查询
	 */
	List<ActualData> qxElementQuery(ActualElemQuery elemQuery);

	
	/*获取整点雨量、温度、湿度、风速、气压*/
	public List<MediumSmallScale> getPoint(SmallScaleSearch smallscalesearch);

	//1,3,6,12,24
	MediumSmallScale getHourRain(SmallScaleSearch selectKey);

	/****
	 * 获取七天城镇预报  两个地方用到
	 * @param request
	 * @return
	 */
	Object getSevenForecast(HttpServletRequest request);


	/****
	 * 乡镇预报
	 * @param selectKey
	 * @param county
	 * @return
	 */
	List<TownshipForecast> getTownshipFcst(TownshipForecastKey selectKey, String county);

	/****
	 * 得到灾点查询
	 * @param selectKey
	 * @param type
	 * @return
	 */
	Object getDPoint(potential_points selectKey, String type);

	/***
	 * 雨量站
	 * @param elemQuery
	 * @return
	 */
	List<ActualData> slElementQuery(ActualElemQuery elemQuery);

	List<ElemContourSet> getElemContourSet(String elemType);


	/***
	 * 水情
	 * @param startDate
	 * @param endDate
	 * @param countys
	 * @return
	 */
	Object waterQuery(Date startDate, Date endDate, String countys);

	/***
	 * 获取预警信号  当天
	 * @return
	 */
	Object getWarnSignalInfo();

	/***
	 * 超警戒水位查询
	 * @param stationname
	 * @return
	 */
	Object getWaterWarnMoniInfo(String stationname);


	/***
	 * 河道水位监控
	 * @return
	 */
	Object getRiverWarnMoniInfo();


	/***
	 * 飞行路线
	 * @param request
	 * @return
	 */
	Object getFlypath(HttpServletRequest request);

	/***
	 * 获取云图   最新一张
	 * @param request
	 * @return
	 */
	Object getNewestSatelliteNephoram(HttpServletRequest request);

	/***
	 * 获取雷达图  最新一张
	 * @param request
	 * @return
	 */
	Object getNewestDoppler(HttpServletRequest request);

	/**
	 * 七天城镇预报
	 * @param request
	 * @return
	 */
	Object getSevenTownForecast(HttpServletRequest request);
}
